home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 9 / Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO / 054a / surf10.zip / SURF10.DOC < prev    next >
Text File  |  1993-04-27  |  19KB  |  413 lines

  1. ****************************************************************************
  2.  Surf                          Version 1.0                       April 1993
  3.  --------------------------------------------------------------------------
  4.                   WAV audio file toolbox for Windows 3.1
  5. ****************************************************************************
  6.  
  7.       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  8.       ~                                                               ~
  9.       ~     Surf is Shareware.  If you use Surf for more than 10      ~
  10.       ~     days, you must register.                                  ~
  11.       ~                                                               ~
  12.       ~     You can register Surf two ways:                           ~
  13.       ~                                                               ~
  14.       ~     1. A License number for this version...........$15.00     ~
  15.       ~                                                               ~
  16.       ~     2. To have the latest version shipped to you...$20.00     ~
  17.       ~                                                               ~
  18.       ~                                                               ~
  19.       ~     Print out and send in the ORDER.FRM file to register.     ~
  20.       ~                                                               ~
  21.       ~     Please include $2.00 for shipping outside the U.S.        ~
  22.       ~                                                               ~
  23.       ~     Please send checks or money orders in U.S. dollars only   ~
  24.       ~                                                               ~
  25.       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  26.       ~                    Thanks for trying Surf!                    ~
  27.       ~                                                               ~
  28.       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  29.  
  30.  
  31.  Introduction
  32.  ------------
  33.  
  34.  Surf is designed to be a toolbox for modifying and editing Windows 3.1
  35.  WAV files.  You'll need Windows 3.1 and a sound device capable of digital
  36.  output (e.g. SoundBlaster, Pro Audio Spectrum, Adlib Gold, etc).  Regular
  37.  Adlib cards cannot play WAV files.  There is a driver for the built-in
  38.  speaker inside your PC that was released after Windows 3.1.  The quality
  39.  is poor, but it is free from Microsoft.
  40.  
  41.  Surf is designed to be fun and useful.  I've tried to leave out the tech-
  42.  nical details wherever possible.  I'm planning a much more technical 
  43.  version if Surf is successful.  Alot of people won't understand if you
  44.  say "inverting the sample", but if you say "sounds like playing in a
  45.  garage", they get the idea.  I'm by no means an expert, and this is a good
  46.  place to thank Jason Bell (my brother) and Na'im Ru for explanations,
  47.  ideas, and even some source code.
  48.  
  49.  This is the first offical release of Surf and while a beta copy was in use
  50.  for quite awhile, there is still one glaring limitation: Surf is currently
  51.  limited to 8-bit monophonic sound editing.  If DEMAND for stereo or 16-bit
  52.  work picks up, then I'll have to change things, but so far no one has made
  53.  such requests.
  54.  
  55.  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  56.  %                                                                        %
  57.  %  If you have an idea for a function for Surf, drop me a line.          %
  58.  %  My address is:                                                        %
  59.  %                                                                        %
  60.  %     James Bell                                                         %
  61.  %     PO Box 57336                           Phone: (904) 641-0634       %
  62.  %     Jacksonville, FL  32241-7336        Internet: jb1@cis.ufl.edu      %
  63.  %                                                                        %
  64.  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  65.  
  66.  Surf is a file-based toolbox, which means that WAV files are never held
  67.  in memory (except partially, during playback), so the only limitation on
  68.  WAV file size is the size of your hard drive.
  69.  
  70.  
  71.  Using Surf
  72.  ----------
  73.  
  74.  To start up Surf, just copy the SURF.EXE file onto your hard drive and
  75.  use Program Manager or File Manager to run SURF.EXE.
  76.  
  77.  You should see the Surf window appear with a status bar at the bottom.
  78.  
  79.  Choose "File...Open" and select a WAV file for editing.
  80.  
  81.  The status bar will display information about the WAV file you opened,
  82.  and will look something like this:
  83.  
  84.  +----------------------------------------------------------------------+
  85.  | File opened      22050 Hz (8-bit mono)     1.1 seconds (24255 bytes) |
  86.  +----------------------------------------------------------------------+
  87.  
  88.  
  89.  
  90.  Interpreting the status bar
  91.  ---------------------------
  92.  
  93.  The "22050 Hz" refers to the "Sample Rate" of the WAV file.  This is the
  94.  number of samples that were collected in one second during recording.
  95.  For 8-bit recordings, a "sample" is one byte.
  96.  
  97.  You can verify the numbers for playback time ("1.1 seconds") and number
  98.  of bytes ("24255 bytes") with a little math:
  99.  
  100.           (1.1 seconds) X (22050 samples/second) = 24255 samples
  101.  
  102.  
  103.  You may hear of sample rates in the kilohertz (kHz), so note that
  104.  "1000 Hz" is the same as "1 kHz".
  105.                            
  106.  For various (technical) reasons the sample rate determines the highest
  107.  frequency of sound that can be reproduced.  The sample rate must be
  108.  twice as high as the highest frequency to be recorded or played back.
  109.  
  110.  For reference, most people's speaking pitch is below 5000 Hz, and most of
  111.  us cannot hear tones over 20,000 Hz.  Below are some common sample rates:
  112.  
  113.   Sample Rate   Highest Freq.   Comment
  114.   -----------   -------------   ----------------------------------------
  115.   4000  Hz      2000  Hz        The slowest possible sample rate for
  116.                                 many common* sound devices.
  117.  
  118.   11025 Hz      5512  Hz        A common sample rate (1/4 of CD rate).
  119.  
  120.   12000 Hz      6000  Hz        Highest possible (recording) sample rate
  121.                                 for many common sound devices.
  122.  
  123.   22050 Hz      11025 Hz        A common sample rate (1/2 of CD rate).
  124.  
  125.   23000 Hz      11500 Hz        Highest possible (playback) sample rate
  126.                                 for many common sound devices.
  127.  
  128.   44100 Hz      22050 Hz        Sample rate for CD-quality sound.
  129.  
  130.  
  131.                             * "common" = Creative Labs' SoundBlaster card
  132.  
  133.  
  134.  Playing with Surf
  135.  -----------------
  136.  
  137.  Once you have your sound file open, you're ready to start modifying the
  138.  sound.
  139.  
  140.  There is a "button-bar" for easy access to many of the functions below.
  141.  
  142.  Here are some of the things you can do with Surf:
  143.  
  144.    Show      - You can view the WAV file you're working on in four ways,
  145.                all four views scale themselves to the current window size:
  146.  
  147.                The "Current" choice on the "Show" menu is the quickest way
  148.                to look at the sound.  It will select 1 sample out of several
  149.                and draw it as one line on the screen.
  150.  
  151.                The "Compare" choice shows you the current sound as well as
  152.                the previous one.  This will let you compare, for example,
  153.                the original samples with the sound after you've added echo.
  154.  
  155.                The "Extended" choice is slow, but gives a more accurate
  156.                picture of the sound samples.  It draws ALL the samples (on
  157.                top of one another if necessary) in the window.
  158.  
  159.                The "Peaks only" display is probably the best mix of speed
  160.                versus accuracy.  It shows the highest and lowest samples.
  161.                You can also get this display by clicking with the right
  162.                mouse button anywhere on the window.
  163.  
  164.  
  165.    Play      - This (of course) plays the current sound.  You can restart
  166.                the playback by selecting Play again before the sample
  167.                finishes.  The playback is in the background, so you can
  168.                continue editing while it is playing.
  169.  
  170.    Undo      - This will "undo" the last function.  After you undo, you can
  171.                "redo" if you change your mind again.
  172.    
  173.    ReOpen    - This will reopen the original file you started working with,
  174.                effectivly throwing out your changes to the file.
  175.    
  176.    Save      - Lets you save your all your changes to a WAV file.
  177.  
  178.    Cut/Copy  - This is where you can cut out or make a copy of some part
  179.                of your WAV file.  You'll see a miniature version of the 
  180.                WAV image and you just click on the image to select the
  181.                beginning and end of the sound you want.  Then you can 
  182.                click on "Cut" or "Copy" depending on which you want to do.
  183.                There's also a "Test (play)" button that'll play the part
  184.                of the sample you outlined.
  185.  
  186.    Insert/Mix- Once you've cut or copied some audio, you'll want to paste
  187.                it in somewhere; this is how you do it.  You'll see another
  188.                miniature image of your WAV file, and you just pick the spot
  189.                where you'd like to put in the piece you cut or copied.
  190.                Now you have to decide whether you'd like to mix it in or
  191.                insert it.  If you mix, you'll be combining the audio that 
  192.                you cut or copied with what is displayed.  If you insert,
  193.                you'll be adding the audio you cut or copied in front of the
  194.                point you selected.
  195.  
  196.    Copy From - This will let you copy a WAV audio file for use in inserting
  197.                or mixing.
  198.  
  199.    Paste To  - This will let you save some audio that you cut or copied as
  200.                a seperate WAV file.
  201.  
  202.    Add Echo  - You can add three levels of artifical echo to your samples.
  203.  
  204.                The "Short" echo repeats about every 0.15 seconds and sounds
  205.                like talking in a large room.  This kind of echo is usually
  206.                called "reverb".
  207.  
  208.                The "Medium" echo repeats about every 0.25 seconds and it
  209.                sounds like the echo on a stadium P.A. system.
  210.  
  211.                The "Long" echo repeats about every 0.60 seconds and it is
  212.                like the echo you hear if you shout from a mountaintop.
  213.  
  214.                                                                  
  215.    Volume    - You can change the volume level of the WAV file.  You should
  216.                take care using this - if you make the sample too loud,
  217.                something called "clipping" happens and it sounds awful.
  218.                Use the "Show" feature and make sure that you don't make
  219.                the sound so loud that any samples shown reach the top of 
  220.                the display window.
  221.                
  222.                If you make a sample very loud or soft, don't expect to be
  223.                able to change the volume back and have the same sound.  It
  224.                is similar to "washing out" the colors in a picture.  You
  225.                should try to keep the volume as high as possible without 
  226.                clipping.  Check the display after each function to make
  227.                sure the volume isn't too loud or soft.
  228.  
  229.                Take a WAV file and play around with the volume, it is useful
  230.                to see what it looks and sounds like at each step.
  231.    
  232.    Continuous
  233.    Play      - Plays the current sound over and over.  Surf will shrink to
  234.                an icon during playback.  When you double-click on Surf's
  235.                icon, it stops playing.
  236.  
  237.    Smooth    - Attempts to "even out" sharp changes in consecutive samples.
  238.                This sort of "dampens" the sound, making it sound like it
  239.                was played in the next room or under a blanket.
  240.  
  241.    Hiss      - (Removing) Sets samples that are nearly "silent" to silence.
  242.                This has the effect of removing the hiss that can be heard
  243.                during long peiods of silence.  The Heavy, Medium, and Light
  244.                levels reflect what samples Surf will consider to be
  245.                "nearly-silent".  Note that if many samples are "silenced",
  246.                it can make the speaker "pop" during playback.  What happens
  247.                is that once the smaller samples are removed, the larger ones
  248.                that are left tend to "pop" the speaker abruptly.  This can
  249.                sometimes be worse than the hiss you were removing!  You'll 
  250.                hear what I mean if you try this on a few sounds.
  251.  
  252.                (Adding) This adds random values to the samples of the sound,
  253.                effectively creating hiss.
  254.  
  255.    Chorusing - This is bit like a varying echo.  The idea is to add layers 
  256.                of slight echo to give the impression that a "chorus" is 
  257.                present instead of a single sound source.  "Medium" effect 
  258.                usually has the best results.  Try doing this function 1-3
  259.                times, each on top of the last.  With a suitable sample, it
  260.                really can sound like a chorus.
  261.  
  262.    Inversion - This produces a sound like speaking in a room with concrete
  263.                walls.  It's quite a bit like playing the sample in a garage.
  264.                Even more so if you Invert the sound a second or third time.
  265.  
  266.    Phazer-
  267.    Chorus    - This is something of a mix between a phaser and the chorus
  268.                function.  Like inversion, it only sonds good with some
  269.                samples, others sound awful.
  270.  
  271.    Sample
  272.    Rate      - This is probably the most fun to play with.  You can change
  273.                the rate at which the samples are played.  This will slow 
  274.                down or speed up the pitch and length (timewise) of the 
  275.                sound.  As mentioned above, you should keep sample rates 
  276.                between 4000 Hz and 23,000 Hz.
  277.  
  278.    Shrink
  279.    Audio     - This can let you save some space with longer samples.  What
  280.                it does is remove every fourth sample and then decrease the
  281.                sample rate by 25%.  With some WAV files there is only a 
  282.                slight loss in quality, even when the file is "shrunk" 
  283.                2-3 times.  You'll have to decide if this quality-for-space 
  284.                tradeoff is useful for your files.
  285.  
  286.    Reverse   - This simply reverses the order of the samples in the WAV
  287.                file, so your audio is backwards.  Note that this function
  288.                is SLOW, so don't use it on some huge WAV file unless you're
  289.                prepared to wait a little while.
  290.  
  291.  
  292.  
  293.   Registering Surf
  294.   ----------------
  295.  
  296.   Remember, if you find yourself "just playing around" with Surf for fun,
  297.   you should register -- that's what it was designed for!
  298.   
  299.   You can register and get a license number for Surf in two ways:
  300.  
  301.     1. Send me $15.00 and I'll send you a license number.
  302.  
  303.       -OR-
  304.  
  305.     2. Send me $20.00 and I'll mail you a copy of the latest version.
  306.  
  307.  
  308.   Once you enter your license number, you won't have to see that 
  309.   registration reminder every so often, and your license will be valid 
  310.   for all future versions of Surf.
  311.  
  312.   Please send your registration as:
  313.  
  314.     a) a check in U.S. dollars (drawn on a U.S. bank)
  315.  
  316.     b) a money order (e.g. Canadian postal, Bundepost, etc.)
  317.  
  318.   Obviously you can send U.S. currency, but I don't want to be responsible
  319.   if the money gets "lost" on the way (although this has NEVER happened in
  320.   the past).
  321.  
  322.   Print and fill-out the ORDER.FRM file and send to:
  323.  
  324.              James Bell
  325.              PO Box 57336
  326.              Jacksonville, FL  32241-7336
  327.  
  328.   Questions?  My Internet e-mail address is: jb1@cis.ufl.edu.
  329.  
  330.   Prices are subject to change.
  331.  
  332.  
  333.   The Future for Surf
  334.   -------------------
  335.  
  336.   Functions & features planned for later releases of Surf:
  337.  
  338.   * Pitch adjustment WITHOUT changing the length of the playback time.
  339.     In other words, shifting the frequencies up or down using Fourier
  340.     transform.  This function is already working in many ways, but still
  341.     needs some time.
  342.  
  343.   * Stereo and over 8-bit support.
  344.  
  345.   * A specialized function to modify a WAV file so that it will sound
  346.     better when played through the Windows 3.1 PC-Speaker driver.
  347.     I'm open to ideas on just how to do this, anyone got any?
  348.  
  349.   * Converting mono into "pseudostereo" by putting right channel 
  350.     slightly out of phase with left.
  351.  
  352.   * Better noise reduction (also using Fourier transform mentioned 
  353.     above).  Ideally, giving you a digital graphic equalizer.
  354.  
  355.   * Perhaps some conversions from SND, VOC, AU, etc. formats to WAV.
  356.   
  357.   Please don't hesitate if you have other ideas for this list, call me!
  358.  
  359.  
  360.   About Surf
  361.   ----------
  362.  
  363.   Surf was created with QuickC for Windows and the Windows 3.1 SDK.  Surf is
  364.   roughly 3000 lines of code.
  365.  
  366.   Surf is my second "major" Windows program.  I also wrote Statline, a handy
  367.   little status bar for Windows 3.x.  Statline can show you the date, time,
  368.   free memory, free system resources, etc.  It can also launch programs,
  369.   exit Windows quickly, keep a mini notepad, and more.  You can register 
  370.   both Statline and Surf together, see the ORDER.FRM file or call me for 
  371.   details.  End of plug.
  372.  
  373.   New versions of Surf (and all my software) get posted first to:
  374.  
  375.   - The Blue Ridge Express BBS: (804)790-9600 (join the "jbell" area)
  376.   - Internet at: wuarchive.wustl.edu and ftp.cica.indiana.edu
  377.  
  378.   By the way, it has been noted that any sound editing/playback tool has 
  379.   the potential to damage either the user's hearing or playback equipment.
  380.   For example, a sound could have the volume increased to a large amount, 
  381.   then be played back through an amplifier.  The amp could conceivably 
  382.   "blow" the speaker or damage the eardrum.  I will not be held liable for 
  383.   this sort of mishap, even if the sound was a result of a Surf function.
  384.  
  385.   Free registration to the first (and only the first) person who can tell 
  386.   me the origin of the following phonetics: "eh ick nowie ooh snuif maset".
  387.  
  388.  
  389.   About Me
  390.   --------
  391.  
  392.   I have a BS in Computer Information Science from the University of Florida
  393.   and am currently working as a Software Consultant.  If your company needs 
  394.   an experienced Windows (3 years) or DOS (5 years) programmer, consider 
  395.   hiring me.  
  396.  
  397.   If you are a programmer yourself, consider contacting me.  I'm giving 
  398.   quite a bit of thought to forming a "Shareware alliance" of several 
  399.   programmers under a single roof.  If you're spending more time sending out 
  400.   orders than programming, maybe this will interest you.
  401.   
  402.  
  403.   Thanks for using Surf
  404.  
  405.   James Bell                                                        04/24/93
  406.  
  407.  
  408.  
  409. P.S. Surf is Copyright 1992,1993 James Bell
  410.      "Windows" and "QuickC" are TM Microsoft Corp.
  411.      "SoundBlaster" is TM Creative Labs Inc.
  412.      Other trademarks mentioned are the property of their respective owners
  413.